package com.example.supermarket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author hpp
 * @since 2021-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Employee extends Model<Employee> {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
    @TableId(value = "ep_id", type = IdType.AUTO)
    private Integer epId;

    /**
     * 员工姓名
     */
    private String epName;

    /**
     * 员工照片
     */
    private String epPhoto;

    /**
     * 员工职位
     */
    private String epJob;

    /**
     * 员工排班
     */
    private String epPaiban;

    /**
     * 管理员手机号
     */
    private String epMobile;

    /**
     * 管理员邮箱
     */
    private String epEmail;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
